package com.mayikt.service.feign;

import com.mayikt.service.WeiXinService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Name WeiXinServiceFeign
 * @Author 枫火
 * @Date 2021/3/30 22:00
 * @Description
 **/
@FeignClient("mayikt-weixin")
public interface WeiXinServiceFeign extends WeiXinService {

//    /**
//     * 微信接口
//     *
//     * @return
//     */
//    @GetMapping("appInfo")
//    String appInfo(@RequestParam("userId") Long userId);
    // Feign客户端复用机制
}
